package cn.edu.sgu.www.mhxysy.enums;

/**
 * 开启状态枚举
 * @author 沐雨橙风ιε
 * @version 1.0
 */
public enum OpenStatus {

    /**
     * 未开启
     */
    UN_OPEN(0, "未开启"),
    /**
     * 开启中
     */
    OPEN(1, "开启中");

    private final Integer value;
    private final String name;

    OpenStatus(Integer value, String name) {
        this.value = value;
        this.name = name;
    }

    public Integer getValue() {
        return value;
    }

    public String getName() {
        return name;
    }

}